import { POST } from '@/service/request.js'

export default {
    AddressAdd(data = {}) {
        return POST({
            url: '/address/add',
            params: data
        })
    },
    AddressIndex(data = {}) {
        return POST({
            url: '/address/index',
            params: data
        })
    },
    AddressInfo(data = {}) {
        return POST({
            url: '/address/info',
            params: data
        })
    },
    AddressEdit(data = {}) {
        return POST({
            url: '/address/edit',
            params: data
        })
    },
    AddressDel(data = {}) {
        return POST({
            url: '/address/del',
            params: data
        })
    },
    AddressCheck(data = {}) {
        return POST({
            url: '/address/check',
            params: data
        })
    },
    AddressOrder(data={}){
        return POST({
            url:'/address/order',
            params:data
        })
    }
}